/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.wms.service;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.wms.entity.InventoryAdjustment;
import com.jeeplus.modules.wms.entity.MaterialParticulars;
import com.jeeplus.modules.wms.mapper.InventoryAdjustmentMapper;
import com.jeeplus.modules.wms.mapper.MaterialParticularsMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 库存调整Service
 * @author sld
 * @version 2017-11-29
 */
@Service
@Transactional(readOnly = true)
public class MaterialParticularsService extends CrudService<MaterialParticularsMapper, MaterialParticulars> {

	public MaterialParticulars get(String id) {
		return super.get(id);
	}
	
	public List<MaterialParticulars> findList(MaterialParticulars materialParticulars) {
		return super.findList(materialParticulars);
	}

	public Page<MaterialParticulars> findPage(Page<MaterialParticulars> page, MaterialParticulars materialParticulars) {
		return super.findPage(page, materialParticulars);
	}

	@Transactional(readOnly = false)
	public void save(MaterialParticulars materialParticulars) {
		super.save(materialParticulars);
	}

	@Transactional(readOnly = false)
	public void delete(MaterialParticulars materialParticulars) {
		super.delete(materialParticulars);
	}
	
}